/**
 * 结业管理
 */

 import request from "@/utils/request.js";

 // 列表
 export function GraduateList(data) {
   return request({
     url: "/admin/GraduateCertificate/list",
     method: "POST",
     params:data,
   });
 }
 // 添加
 export function GraduateAdd(data) {
    return request({
      url: "/admin/GraduateCertificate/add",
      method: "POST",
      params:data,
    });
  }
  // 删除
 export function GraduateDel(data) {
    return request({
      url: "/admin/GraduateCertificate/remove",
      method: "POST",
      params:data,
    });
  }
  //修改
  export function GraduateEdit(data) {
    return request({
      url: "/admin/GraduateCertificate/edit",
      method: "POST",
      params:data,
    });
  }
  
// 批量生成毕业号
export function GraduateAute(params) {
    return request({
      url: "/admin/GraduateCertificate/updateGraduateId",
      method: "POST",
      params,
    });
  }
  // 导出
export function Graduateduate(params) {
    return request({
      url: "/admin/GraduateCertificate/export",
      responseType: 'blob',
      method: "POST",
      params,
    });
  }


// 打印
export function printApi(data) {
    return request({
      url: '/admin/GraduateCertificate/print',
      method: 'POST',
      params: data
    })
  }
  // 批量生成毕业号
export function GraduateThegraduateApi(data) {
    return request({
      url: "/admin/GraduateCertificate/updateGraduateId",
      method: "POST",
      params:data,
    });
  }